package com.enlorenz.common.security.rsa;

import com.enlorenz.common.security.Coder4Base;

public class Coder4RSAByBase64 extends AbstractRSA{

	@Override
	protected String bytes2String(byte[] data) {
		return Coder4Base.encryptBase64(data);
	}

	@Override
	protected byte[] string2Bytes(String data) {
		return Coder4Base.decryptBASE64(data);
	}

}
